package phone.qyg.com.qyg.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：lblbh on 2018/6/1 10:37
 * 邮箱：lanbuhan@163.com
 * 功能：场馆室内活动
 */

public class VenueActRoom extends Base implements Parcelable {


    public int roomId;//活动室id
    public int venueId;//场馆id
    public String content;
    public String venueTitle;

    public VenueActRoom(){};

    public VenueActRoom(Parcel in) {
        id = in.readInt();
        venueId = in.readInt();
        venueTitle = in.readString();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeInt(venueId);
        dest.writeString(venueTitle);
    }


    public static final Creator<VenueActRoom> CREATOR = new Creator<VenueActRoom>() {
        @Override
        public VenueActRoom[] newArray(int size) {
            return new VenueActRoom[size];
        }

        @Override
        public VenueActRoom createFromParcel(Parcel in) {
            return new VenueActRoom(in);
        }
    };
}
